package org.example.registry.redis;

/**
 * @Author Jiangxiaonan
 * @Description
 * @Date 2024/9/15 10:42
 **/
public class Main {

    public static void main(String[] args) {
        RedisOperations operations = new RedisOperations();

        // 设置键值对
        operations.set("test_key", "test_value");

        // 获取键值
        String value = operations.get("test_key");
        System.out.println("Retrieved value: " + value);
    }
}
